mirror of https://github.com/Lissy93/dashy.git
Small optimization in Dockerfile
This commit is contained in:
parent
1df3eda66f
commit
ec5bc2c730
|
@ -1,9 +1,9 @@
|
||||||
FROM node:lts-alpine
|
FROM node:lts-alpine
|
||||||
|
|
||||||
# Define some ENV Vars
|
# Define some ENV Vars
|
||||||
ENV PORT 80
|
ENV PORT=80 \
|
||||||
ENV DIRECTORY /app
|
DIRECTORY=/app \
|
||||||
ENV IS_DOCKER true
|
IS_DOCKER=true
|
||||||
|
|
||||||
# Create and set the working directory
|
# Create and set the working directory
|
||||||
WORKDIR ${DIRECTORY}
|
WORKDIR ${DIRECTORY}
|
||||||
|
|
Loading…
Reference in New Issue