|
|
@ -48,11 +48,11 @@ WORKDIR /farm
|
|
|
|
RUN mkdir dist
|
|
|
|
RUN mkdir dist
|
|
|
|
COPY --from=buildfe /farm/dist /farm/dist
|
|
|
|
COPY --from=buildfe /farm/dist /farm/dist
|
|
|
|
RUN cp src/server/farm dist/; \
|
|
|
|
RUN cp src/server/farm dist/; \
|
|
|
|
chmod +x dist/farm; \
|
|
|
|
chmod +x dist/farm
|
|
|
|
touch dist/db
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FROM farm as run
|
|
|
|
FROM farm as run
|
|
|
|
WORKDIR /farm/dist
|
|
|
|
WORKDIR /farm/dist
|
|
|
|
|
|
|
|
RUN touch /farmdb/db
|
|
|
|
ENTRYPOINT ["./farm"]
|
|
|
|
ENTRYPOINT ["./farm"]
|
|
|
|
CMD ["-:a50"]
|
|
|
|
CMD ["-:a50"]
|
|
|
|
# CMD ./farm
|
|
|
|
# CMD ./farm
|
|
|
|