Created
December 16, 2024 20:13
-
-
Save thimslugga/f4e400b2beedc2ce8dcbbeb76b988329 to your computer and use it in GitHub Desktop.
Container Images
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
FROM --platform=$BUILDPLATFORM alpine:latest | |
WORKDIR / | |
RUN \ | |
apk --no-cache add \ | |
ca-certificates \ | |
tzdata \ | |
shadow \ | |
su-exec | |
# Copy only the necessary files | |
COPY /root / | |
# Copy the entrypoint script | |
#COPY docker-entrypoint.sh /usr/local/bin/ | |
#RUN chmod +x /usr/local/bin/docker-entrypoint.sh | |
#EXPOSE 3000 | |
ENTRYPOINT ["docker-entrypoint.sh"] | |
CMD ["./myapp"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment