christmas/Dockerfile
Frostyfrog b3146d339f
Update node.js (#100)
* feat: Update node from 15 to 20

Signed-off-by: Colton Wolkins (Laptop) <colton@indicio.tech>

* docs: Add note about walmart and their 18MB headers

Signed-off-by: Colton Wolkins (Laptop) <colton@indicio.tech>

---------

Signed-off-by: Colton Wolkins (Laptop) <colton@indicio.tech>
2023-11-25 14:18:07 -05:00

22 lines
362 B
Docker

FROM node:20-alpine
RUN apk --no-cache add curl
ENV NODE_ENV production
WORKDIR /usr/src/app
COPY ["package.json", "package-lock.json*", "npm-shrinkwrap.json*", "./"]
RUN npm install --production --silent
COPY . .
ENV PORT 80
ENV DB_EXPOSE_PORT 8080
EXPOSE 80
RUN mkdir -p /data/dbs
ENV DB_PREFIX /data/dbs/
ENV SECRET_DIRNAME /data
CMD ./Dockerstart.sh