1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-09 00:00:01 +01:00

make Dockerfile self-hosting

This commit is contained in:
Steffen Vogel 2017-09-16 21:30:53 +02:00
parent 20a9ad6521
commit 7b51cfc3f1

View file

@ -13,6 +13,8 @@ RUN npm install
COPY . /usr/src/app
RUN npm run build
VOLUME /usr/src/app/build
# Run the app in a local webserver
RUN npm install -g serve
EXPOSE 5000
CMD [ "true" ]
CMD [ "serve", "-s", "build" ]