add messages

This commit is contained in:
2024-05-13 21:30:59 +03:30
parent 3353c4f61f
commit 8e60e979ec
6 changed files with 45 additions and 3 deletions

View File

@ -1,7 +1,7 @@
FROM node:18-alpine3.18
# Installing libvips-dev for sharp Compatibility
RUN apk update && apk add --no-cache build-base gcc autoconf automake zlib-dev libpng-dev nasm bash vips-dev git
ARG NODE_ENV=develop
ARG NODE_ENV=production
ENV NODE_ENV=${NODE_ENV}
WORKDIR /opt/
@ -16,4 +16,4 @@ RUN chown -R node:node /opt/app
USER node
RUN ["yarn", "build"]
EXPOSE 1337
CMD ["yarn", "develop"]
CMD ["yarn", "start"]