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

use symlink for Dockerfile

This commit is contained in:
Steffen Vogel 2019-05-16 01:10:11 +02:00
parent 852decd677
commit c6d2f0caa6

View file

@ -1,22 +0,0 @@
FROM node:8.2
# Create app directory
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
RUN apt install -y git
# use changes to package.json to force Docker not to use the cache
# when we change our application's nodejs dependencies:
ADD package.json /usr/src/app
RUN npm install
# Install app dependencies
COPY . /usr/src/app
RUN npm run build
# Run the app in a local webserver
RUN npm install -g serve
EXPOSE 5000
CMD [ "serve", "-s", "build" ]

1
Dockerfile Symbolic link
View file

@ -0,0 +1 @@
packaging/docker/Dockerfile