blob: 2cee01f1eea8f0aff2673da0a0a668e8a6ed44a3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
FROM node:23.3.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
RUN useradd juick
USER juick
EXPOSE 8081
CMD ["node", "server.js"]
|