forgot to build the next app

This commit is contained in:
Lee 2023-07-01 22:17:34 +01:00
parent a47c9249da
commit 12f4296a6f

@ -7,4 +7,8 @@ COPY . .
EXPOSE 3000 EXPOSE 3000
RUN chown -R node /usr/src/app RUN chown -R node /usr/src/app
USER node USER node
# Build the app
RUN npm run build
CMD ["npm", "start"] CMD ["npm", "start"]