Skip to content
Snippets Groups Projects
Commit d6afd82f authored by kasperlauge's avatar kasperlauge
Browse files

Introduced image cache busting

parent 4bd094b9
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ RUN mkdir -p /usr/src && \
make install) && \
rm -rf /usr/src/{bcm2835-1.60,pigpio}
WORKDIR /iot-project/server
WORKDIR /m2-iot-project/server
COPY ./server/package*.json ./
RUN npm install
......@@ -27,7 +27,7 @@ RUN npm run build
# Build client
WORKDIR /iot-project/client
WORKDIR /m2-iot-project/client
COPY ./client/package*.json ./
RUN npm install
COPY ./client ./
......@@ -35,5 +35,5 @@ RUN npm run build:prod
EXPOSE 8080
WORKDIR /iot-project/server
WORKDIR /m2-iot-project/server
CMD [ "npm", "start" ]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment