fix: get backend docker working

This commit is contained in:
Rotimi Best
2024-09-23 01:37:57 +01:00
parent 877b514a7b
commit 0349e8c531
3 changed files with 7 additions and 12 deletions
+5 -3
View File
@@ -28,10 +28,12 @@ WORKDIR /app
# RUN mkdir ~/.fonts/ && \
# wget https://github.com/samuelngs/apple-emoji-linux/releases/download/ios-15.4/AppleColorEmoji.ttf -O ~/.fonts/AppleColorEmoji.ttf
COPY package.json /app/
COPY ./package.json /app
RUN npm install --frozen-lockfile
COPY ./ /app/
COPY . /app
ENV PORT 3002
EXPOSE 3002
CMD ["npm", "start"]
CMD ["node", "server.js"]