mirror of
https://github.com/informaticker/uek-109-LBb.git
synced 2024-11-25 02:51:58 +01:00
19 lines
284 B
Docker
19 lines
284 B
Docker
|
FROM node:19-alpine
|
||
|
|
||
|
ENV npm_config_cache ./.npm-cache
|
||
|
RUN apk add --no-cache dos2unix
|
||
|
|
||
|
WORKDIR /srv/app
|
||
|
|
||
|
COPY package.json package-lock.json ./
|
||
|
RUN npm ci
|
||
|
|
||
|
COPY . .
|
||
|
RUN dos2unix entrypoints/*
|
||
|
|
||
|
USER node
|
||
|
|
||
|
EXPOSE 8080
|
||
|
ENTRYPOINT [ "entrypoints/production.sh" ]
|
||
|
CMD [ "npm", "start" ]
|