aboutsummaryrefslogtreecommitdiff
path: root/vnext/server/Dockerfile
blob: 30f37ad0bdbaf4ff95c545c1ae2a5c028c659c84 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM node:20.17.0-bookworm-slim

# Install app dependencies
COPY package.json .
COPY package-lock.json .
RUN npm install

# Bundle APP files
COPY public/server.js .

ENV NODE_ENV=production
ENV NPM_CONFIG_LOGLEVEL=warn
ENV DEBUG=http

# Expose the listening port of your app
EXPOSE 8081

CMD [ "node", "server.js" ]