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