Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

需要Docker支持,最好是有Docker-Compose脚本 #3

Open
Sandaman2015 opened this issue Oct 27, 2022 · 2 comments
Open

需要Docker支持,最好是有Docker-Compose脚本 #3

Sandaman2015 opened this issue Oct 27, 2022 · 2 comments

Comments

@Sandaman2015
Copy link

懒狗的建议是催动人类进步一大步[🐶]

@MrWQ
Copy link

MrWQ commented Mar 30, 2023

真巧,我做了

https://github.com/MrWQ/sqlfather-docker

@edanhuang
Copy link

前端

FROM node:16.15.0-alpine


WORKDIR /app
COPY dist /app/dist
EXPOSE 3000
RUN yarn global add serve
CMD ["serve", "/app/dist"]

后端

FROM maven:3.8.1-jdk-8-slim as builder
WORKDIR /app
COPY target/sql-boy-backend-0.0.1-SNAPSHOT.jar .
EXPOSE 8102
CMD ["java","-jar","/app/sql-father-backend-0.0.1-SNAPSHOT.jar"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants