Skip to content
Snippets Groups Projects
Commit 56f5db99 authored by Griefed's avatar Griefed :joystick:
Browse files

build: Misc changes in Dockerfiles and package.json

parent 8f5abf78
No related branches found
No related tags found
2 merge requests!7build: Update Dockerfile npm version, Add develop Dockerfile, Make About a little nicer,!8ci: Reactivate gh-pages deploy after Trungel's fixes to paths of tiles.
This commit is part of merge request !7. Comments created here will be created in the context of that merge request.
......@@ -8,7 +8,7 @@ RUN \
https://github.com/Griefed/ltt-mapmaker.git \
/tmp/lttmm && \
cd /tmp/lttmm && \
npm install -g npm@7.17.0 && \
npm install -g npm@7.23.0 && \
npm install -g @quasar/cli && \
npm install && \
quasar build
......
FROM node:16.9.1-alpine3.13 AS builder
RUN \
apk add \
git \
npm && \
git clone \
-b develop \
https://github.com/Griefed/ltt-mapmaker.git \
/tmp/lttmm && \
cd /tmp/lttmm && \
npm install -g npm@7.23.0 && \
npm install -g @quasar/cli && \
npm install && \
quasar build
FROM lsiobase/nginx:3.14
LABEL maintainer="Griefed <griefed@griefed.de>"
RUN \
mkdir -p \
/app/lttmm && \
echo "**** Cleanup ****" && \
rm -rf \
/root/.cache \
/tmp/*
COPY --from=builder tmp/lttmm/dist/spa/ /app/lttmm
COPY root/ /
EXPOSE 80 443
VOLUME /config
......@@ -2,7 +2,7 @@
"name": "ltt-mapmaker",
"version": "1.1.0",
"description": "Visual Map Maker for Let Them Trade",
"productName": "Let Them Trade Map Maker",
"productName": "Let Them Trade Map-Maker",
"author": "Griefed <griefed@griefed.de>",
"private": true,
"scripts": {
......
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