diff --git a/Dockerfile b/Dockerfile index ddf5b3a..c66da05 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ FROM node:alpine -RUN mkdir -p /usr/src/app +RUN mkdir -p /usr/src/app/public +VOLUME /usr/src/app/public WORKDIR /usr/src/app COPY . /usr/src/app -VOLUME /usr/src/app/public RUN npm install EXPOSE 8080 CMD [ "npm", "start" ]