first commit
This commit is contained in:
20
media-tools/image-converter/Dockerfile
Normal file
20
media-tools/image-converter/Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY ./index.html /usr/share/nginx/html/index.html
|
||||
COPY ./assets /usr/share/nginx/html/assets
|
||||
COPY ./favicon.ico /usr/share/nginx/html
|
||||
COPY ./manifest.json /usr/share/nginx/html
|
||||
COPY ./service-worker.js /usr/share/nginx/html
|
||||
|
||||
RUN apk add --no-cache nodejs npm
|
||||
WORKDIR /scripts
|
||||
RUN npm init -y
|
||||
RUN npm install dotenv
|
||||
COPY ./scripts /scripts
|
||||
COPY .env /scripts/.env
|
||||
RUN node /scripts/environment.common.js
|
||||
RUN node /scripts/environment.prod.js
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
Reference in New Issue
Block a user