gitpod/components/ws-proxy/leeway.Dockerfile
Manuel Alejandro de Brito Fontes 61e9182f8d
Cleanup docker files (#3412)
2021-03-11 10:04:27 -03:00

19 lines
551 B
Docker

# Copyright (c) 2020 Gitpod GmbH. All rights reserved.
# Licensed under the GNU Affero General Public License (AGPL).
# See License-AGPL.txt in the project root for license information.
FROM alpine:3.13
# Ensure latest packages are present, like security updates.
RUN apk upgrade --no-cache \
&& apk add --no-cache ca-certificates
RUN adduser -S -D -H -h /app -u 1000 appuser
COPY components-ws-proxy--app/ws-proxy /app/ws-proxy
COPY public /app/public
RUN chown -R appuser /app
USER appuser
ENTRYPOINT [ "/app/ws-proxy" ]
CMD [ "-v", "help" ]