Skip to content

Commit

Permalink
Use standard Dockerfile and port
Browse files Browse the repository at this point in the history
  • Loading branch information
pamelafox committed Jun 9, 2023
1 parent ea63076 commit d2f2b0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
ARG VARIANT=bullseye
FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT}
FROM --platform=amd64 mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT}
RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get update && apt-get install -y xdg-utils \
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*
RUN mkdir -p /opt/microsoft/azd \
&& curl -L https://github.com/Azure/azure-dev/releases/download/azure-dev-cli_0.9.0-beta.2/azd-linux-arm64-beta.tar.gz | tar zxvf - -C /opt/microsoft/azd \
&& ln -s /opt/microsoft/azd/azd-linux-arm64 /usr/local/bin/azd
RUN curl -fsSL https://aka.ms/install-azd.sh | bash
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ echo ""
echo "Starting backend"
echo ""
cd ..
python3 -m flask run --port=50555 --reload --debug
python3 -m flask run --port=5000 --reload --debug
if [ $? -ne 0 ]; then
echo "Failed to start backend"
exit $?
Expand Down

0 comments on commit d2f2b0b

Please sign in to comment.