forked from fluidd-core/fluidd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Pedro Lamas <[email protected]>
- Loading branch information
1 parent
2f76326
commit 13733ff
Showing
8 changed files
with
18 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,6 @@ | ||
FROM alpine:latest as unzip | ||
|
||
ARG FRONTEND_ZIP_URL=https://github.com/fluidd-core/fluidd/releases/latest/download/fluidd.zip | ||
|
||
WORKDIR /frontend | ||
|
||
ADD ${FRONTEND_ZIP_URL} /tmp/frontend.zip | ||
RUN unzip /tmp/frontend.zip -d /frontend | ||
|
||
FROM nginx:alpine | ||
|
||
ENV JPEG_STREAM_HOST localhost | ||
ENV JPEG_STREAM_PORT 8080 | ||
ENV PORT=80 | ||
|
||
COPY --chown=101:101 server/nginx-site.conf /etc/nginx/conf.d/default.conf | ||
COPY --from=unzip --chown=101:101 /frontend /usr/share/nginx/html | ||
COPY --chown=101:101 server/config.json /usr/share/nginx/html/config.json | ||
EXPOSE 80 | ||
COPY /dist /usr/share/nginx/html | ||
COPY /server/nginx /etc/nginx/templates |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.