Skip to content

Commit

Permalink
feat: add Dockerfile for frontend (#11)
Browse files Browse the repository at this point in the history
* feat: add dockerfile

* fix: dockerfile deployment

* fix: remove useless files in container

* fix: remove useless files in container
  • Loading branch information
ungarscool1 authored Dec 30, 2024
1 parent 4528f70 commit d02f97b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.md
auxiliary/
js-inactive/
Dockerfile
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM alpine:latest as build

WORKDIR /build

RUN apk add unzip wget && \
wget https://arma.openlink.bot/assets/map.zip && \
unzip map.zip && \
rm map.zip

FROM nginx:latest
COPY --from=build /build/* /usr/share/nginx/html/map/
COPY . /usr/share/nginx/html/
WORKDIR /usr/share/nginx/html/
RUN mv ARES-Arma3-Online-Artillery-Calculator.html index.html

0 comments on commit d02f97b

Please sign in to comment.