mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 03:20:12 +08:00
refactor: move quests out of server
+ move quests from server/quests to ./quests + add frontend image in docker compose development
This commit is contained in:
1 parent
e54ae32960
commit
9aa9367f9e
17 files changed
+32
-18
No files matched your search
@@ -0,0 +1,27 @@
|
||||
FROM node:latest
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
curl \
|
||||
vim \
|
||||
zsh \
|
||||
jq
|
||||
|
||||
WORKDIR /usr/local/lib/container
|
||||
|
||||
COPY ./packages/container/package.json ./yarn.lock ./
|
||||
|
||||
RUN yarn install --modules-folder /usr/src/node_modules
|
||||
|
||||
ENV NODE_PATH=/usr/src/node_modules
|
||||
|
||||
COPY ./packages/container /usr/local/lib/container
|
||||
|
||||
RUN adduser --disabled-password --gecos '' --shell /bin/zsh rudeus
|
||||
|
||||
USER rudeus
|
||||
|
||||
WORKDIR /home/rudeus
|
||||
|
||||
COPY ./quests/helloworld/home /home/rudeus/
|
||||
|
||||
CMD [ "/bin/zsh" ]
|
||||
Reference in new issue
Block a user