-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 253 fix build errors whith images on linux (#262) * bon slash * bartender alcool repair * ouiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii * correction no_image -> outpost * clean * Auto stash before merge of "253-fix-build-errors-whith-images-on-linux" and "origin/253-fix-build-errors-whith-images-on-linux" * Cook * Fix files img and xenomorph Fix files img and xenomorph * tomato.webp --------- Co-authored-by: jujulilope <[email protected]> Co-authored-by: Fr_Dae <[email protected]> * hmmmm * ok. * bon port --------- Co-authored-by: jujulilope <[email protected]> Co-authored-by: Fr_Dae <[email protected]>
- Loading branch information
1 parent
0aada6e
commit 193f4a2
Showing
4 changed files
with
54 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM node:16 AS build | ||
WORKDIR /usr/src/app | ||
COPY package*.json ./ | ||
RUN npm install | ||
COPY . . | ||
RUN npm run build | ||
|
||
# Deployment step | ||
|
||
FROM busybox:1.35 as deploy | ||
|
||
RUN adduser -D static | ||
USER static | ||
WORKDIR /home/static | ||
|
||
COPY --from=build /usr/src/app/build/ ./ | ||
|
||
EXPOSE 3000 | ||
|
||
CMD ["busybox", "httpd", "-f", "-v", "-p", "3000"] |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
services: | ||
unitystation-wiki: | ||
build: . | ||
ports: | ||
- "4012:3000" | ||
restart: always |
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